package nl.weeaboo.sh.objects;

import java.awt.Rectangle;

import nl.weeaboo.sh.level.Tile;
import nl.weeaboo.sh.model.DamageRect;


public interface Collidable {

	public boolean getCollidesDamage(Sprite s);
	public boolean getCollidesSplash(Sprite s);
	public Sprite getSprite();
	
	public void onCollision(Sprite attacker, Sprite damaged, Rectangle hitArea,
			int damage, DamageRect dr);
	public void onSplashCollision(Sprite attacker, Sprite damaged, Rectangle hitArea,
			int damage, DamageRect dr);
	
	public void onCollision(Sprite attacker, Tile damaged, Rectangle hitArea, int damage);
	public void onCollision(Tile attacker, Sprite damaged, Rectangle hitArea, int damage);
	
}
